import { IOssData } from '@/api/oss/type';
import { http } from '@/core/http';

/**
 * 获取临时上传令牌
 */
export const getOssStsToken = () => {
  return http.get<IOssData>({
    url: '/oss/ali-oss-sts',
    isLoading: false
  });
};
